package cn.tedu.baidashi.service;

import cn.tedu.baidashi.model.Orders;
import cn.tedu.baidashi.vo.CartVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tedu.cn
 * @since 2022-02-19
 */
public interface IOrdersService extends IService<Orders> {
    Long generateOrderNo();
    String createOrder(Integer shippingId, CartVO cartVO);
    Orders getOrderDetail(Integer userId, Long orderNo);
//    PageInfo<Orders> getOrders(Integer pageNum,Integer pageSize);
}
